package com.ant.storage.mapper;

import com.ant.storage.pojo.Cnxjrjz;
import com.ant.storage.vo.AccountingVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface CnxjrjzMapper extends BaseMapper<Cnxjrjz>{
    void saveCnxjrjz(Cnxjrjz cnxjrjz);

    List<AccountingVo> getTotalPrice(@Param("cityId") Integer cityId,@Param("statTime")  String statTime, @Param("endTime") String endTime);

    BigDecimal getTotalPrices(Integer cityId, String statTime, String endTime);

    List<Integer> getType(Integer cityId, String statTime, String endTime);

    Integer selAccounts(@Param("str") String str);
}
